home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: MegaDisc
/
MegaDisc 41 (1994-09)(MegaDisc Digital Publishing)(AU)(Disk 2 of 2).zip
/
MegaDisc 41 (1994-09)(MegaDisc Digital Publishing)(AU)(Disk 2 of 2).adf
/
ARexx_&_HBook
/
MiniLinks
/
Script3
< prev
next >
Wrap
Text File
|
1994-08-09
|
2KB
|
32 lines
The route through scripts
Was a `filename` supplied? If second argument supplied:
| |
___No___|___Yes___ Was it 'xy'?
| | |
Assign | __No___|__Yes_
'Script1' ----> Does it exist? | |
| `Close down` Set xy
___No___|___Yes___ | tracer
| | Quit
Put up File ---------> Screen
_ Requester file See also 'comments' at
| | | the beginning of the
Exit if | `Loop` ARexx program itself.
'Cancel' | |
selected <-----------------
<
Names should be a concatenation of a name and a number such as :
Script1, Script2, ... ; Science1, Science2, ... ; Unit1, Unit2, ...
A handy way of closing a window which remains
stubbornly open in the case of an error.
REPEAT Wait for user action. If '->' or '<-', the script number
is adjusted, ± 1. If that file exists, it is screened.
UNTIL file does not exist, or the '??'
or 'Close' or 'Cancel' gadget is clicked.
call rect(27,17,241,28,7,7)
call rect(28,32,345,174,1,2)
call rect(361,32,598,118,1,2)